include ../Makefile.inc
OBJ=Scan.o Spectrum.o

LINKFLAGS=-L/usr/lib -lxml2 -lgomp
CFLAGS+=-I../Include
CFLAGS+=-I/usr/include/libxml2
CFLAGS+=-I$(CLUTILDIR)
CFLAGS+=-I$(OPENCLINCLUDE)
LINKFLAGS+=-L$(CLUTILDIR) -lclUtil

../libSpectrum.a: $(OBJ) ../Include/*
	$(AR) rcs ../libSpectrum.a $(OBJ)

.cc.o:
	$(CC) -c $(CFLAGS) -o $@ $<

clean:
	rm *.o ../libSpectrum.a
